import { createApp, type App } from 'vue';
import { createPinia } from 'pinia';
import antd from 'ant-design-vue';
import router from './router';
import i18n from './i18n';
import MyApp from './App.vue';

import 'ant-design-vue/dist/antd.css';
import './less/index.less';

const app: App<Element> = createApp(MyApp);
app.use(createPinia()).use(antd).use(router).use(i18n).mount('#app');